package com.chinairi.mall.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 
 * </p>
 *
 * @author Webgasd
 * @since 2020-10-19
 */
@TableName("NEWS")
public class News extends BaseModel {

    private static final long serialVersionUID = 1L;

    @TableId("NEWS_DBID")
    private String newsDbid;

    @TableField("NEWS_CONTENT")
    private String newsContent;

    @TableField("NEWS_TITLE")
    private String newsTitle;

    @TableField("NEWS_CREATOR")
    private String newsCreator;

    @TableField("NEWS_CREATE_TIME")
    private Date newsCreateTime;

    public String getNewsDbid() {
        return newsDbid;
    }

    public void setNewsDbid(String newsDbid) {
        this.newsDbid = newsDbid;
    }
    public String getNewsContent() {
        return newsContent;
    }

    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent;
    }
    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }
    public String getNewsCreator() {
        return newsCreator;
    }

    public void setNewsCreator(String newsCreator) {
        this.newsCreator = newsCreator;
    }
    public Date getNewsCreateTime() {
        return newsCreateTime;
    }

    public void setNewsCreateTime(Date newsCreateTime) {
        this.newsCreateTime = newsCreateTime;
    }

    @Override
    public String toString() {
        return "News{" +
            "newsDbid=" + newsDbid +
            ", newsContent=" + newsContent +
            ", newsTitle=" + newsTitle +
            ", newsCreator=" + newsCreator +
            ", newsCreateTime=" + newsCreateTime +
        "}";
    }
}
